home *** CD-ROM | disk | FTP | other *** search
- /*
- cvclinfo.h
-
- Information holder for ClassTreeView
-
- C++/Views 2.0 Demo
- Copyright (c) 1992, by Liant Software Corp.
- ALL RIGHTS RESERVED.
-
- Revision History:
- -----------------
- */
-
- #ifndef cvclinfo_h
- #define cvclinfo_h
- #include "defs.h"
- #include "str.h"
-
- class ClassInfo {
- private:
- ClassInfo *parent;
- ClassInfo *next;
- VString name;
- int cy;
- int cx;
-
- public:
- ClassInfo(char*, ClassInfo*, int, int);
- ClassInfo();
- ~ClassInfo();
-
- VClass *iam();
- boolean free();
-
- ClassInfo *getNext() { return(next); }
- ClassInfo *getParent() { return(parent); }
- VString *getName() { return(&name); }
- int getX() { return(cx); }
- int getY() { return(cy); }
-
- void setParent(ClassInfo *p) { parent = p; }
- };
-
- extern VClass *ClassInfoCls;
- #endif /* cvclinfo_h */
-